﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/FrontPageSite.master" AutoEventWireup="true" CodeBehind="NewList.aspx.cs" Inherits="CRMSalesManagement.FrontPageShow.NewList" %>
<%@ Register Assembly="DataPage" Namespace="DataPageTools" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="../DataPage/css.css" rel="stylesheet" type="text/css" />
    <div style="width:700px;height:auto;margin-top:10px; ">
        <asp:DataList ID="dlNewsList" runat="server" Width="590px" 
            HorizontalAlign="Center" >
            <ItemStyle Wrap="False" />
            <ItemTemplate>
                <style> li{list-style-type:none;}</style>
                <ul style="margin-top: 10px; font-size:12px;">
                            <li style="float: left;">
                                <asp:HyperLink ID="HyperLink1" runat="server" Font-Underline="False" Target="_blank"
                                    NavigateUrl='<%# Eval("Id", "DetailNews.aspx?Id={0}") %>' Text='<%# Eval("Title") %>'></asp:HyperLink>
                            </li>
                            <li style="float: right;text-align:left;width:100px;padding-right:25px;">
                                <asp:Label ID="发布时间Label" runat="server" Text='<%# Eval("Date", "{0:yyyy-MM-dd}") %>' 
                                    ForeColor="Black"></asp:Label>
                            </li>
                        </ul>
            </ItemTemplate>
        </asp:DataList>
    </div>
      <center>   
      <div style="color:Red;font-size:12px;">
          <asp:Label ID="lblMessage" runat="server" Text=""></asp:Label></div>
    <div style="padding-top:30px;font-size: 12px;height:auto;width:100%;overflow:hidden;padding-bottom:50px;">
        <cc1:datapage ID="DataPage1" runat="server" DIVClassName="yahoo">
        <PageIndex PageIndexType="TextBox"></PageIndex>
        </cc1:datapage>
    </div></center>
</asp:Content>
